package com.hxkj.service;

import com.hxkj.domain.po.LoginToken;
import com.hxkj.domain.po.Token;
import com.platform.common.domain.result.ResultDataStruct;
import org.springframework.web.bind.annotation.RequestBody;

public interface TokenService {

    ResultDataStruct<LoginToken> refresh(String token) throws Exception;

    ResultDataStruct<Token> validate(@RequestBody String accessToken);
}
